//
//  PushtaskField.h
//  Safflower
//
//  Created by 袁亮 on 2016/12/1.
//  Copyright © 2016年 Migic_Z. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, TaskFieldStyle) {
    TaskFieldStyleOfNormal = 0,
    TaskFieldStyleOfSelect = 1

};

@class PushtaskField;

@protocol PushtaskFieldDelegate <NSObject>

- (void)clickField:(PushtaskField *)field;

@end

@interface PushtaskField : UIView

@property (nonatomic, copy) NSString *text;

@property (nonatomic, copy) NSString *placeholder;

@property (nonatomic, strong) UITextField *field;

@property (nonatomic, weak) id<PushtaskFieldDelegate>delegate;

- (instancetype)initTaskFieldWithStyle:(TaskFieldStyle)style;

@end
